package com.caifu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lyf
 * @since 2020-11-20
 */
public class YlPreliminaryDiagnosis extends Model<YlPreliminaryDiagnosis> {

    private static final long serialVersionUID = 1L;

    /**
     * 批次编号
     */
    private String batchNo;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 病症
     */
    private String disease;

    /**
     * 说明
     */
    private String diseaseText;

    /**
     * 治疗计划
     */
    private String treatmentPlanning;

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getDisease() {
        return disease;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }
    public String getDiseaseText() {
        return diseaseText;
    }

    public void setDiseaseText(String diseaseText) {
        this.diseaseText = diseaseText;
    }
    public String getTreatmentPlanning() {
        return treatmentPlanning;
    }

    public void setTreatmentPlanning(String treatmentPlanning) {
        this.treatmentPlanning = treatmentPlanning;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "YlPreliminaryDiagnosis{" +
        "batchNo=" + batchNo +
        ", id=" + id +
        ", disease=" + disease +
        ", diseaseText=" + diseaseText +
        ", treatmentPlanning=" + treatmentPlanning +
        "}";
    }
}
